import request from "@/utils/request";

/**团队管理列表 */
export const teamManageList = (params) => {
  return request({
    url: "/admin/rule/getTeamAdminList",
    method: "get",
    params,
  });
};


/** 推广变更 */
export const changeList = (params) => {
  return request({
    url: "/system/change/list",
    method: "get",
    params,
  });
};


/** 团队管理列表 包含对应用户的助力用户信息 */
export const getTeamAdminList = (params) => {
  return request({
    url: "/admin/rule/getTeamAdminList",
    method: "get",
    params,
  });
};



/** 团队管理用户换位编辑 */
export const teamUserExchange = (data) => {
  return request({
    url: "/admin/rule/teamUserExchange",
    method: "post",
    data,
  });
};


// 查询位置变动日志列表
export function listLog(query) {
  return request({
    url: "/system/log/list",
    method: "get",
    params: query,
  });
}




